import {getPermissionApi} from '@/http/api'
export default {
  getUserInfo({commit}){
    setTimeout(()=>{
      commit('userInfoName', '零零三')
    },1000)
  },
  getPermission({commit}){
    getPermissionApi().then(res=>{
      commit('permission', res.data)
    })
  }
}
